﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace AutoTestingFramework.Utilities.JsonHelper
{
    public class JsonHelper
    {
        public static T Deserialize<T>(string jFilePath)
        {
            string jsonContent = File.ReadAllText(jFilePath);

            return JsonUtil.Deserialize<T>(jsonContent);
        }
        public static string Serialize(object obj)
        {
            return JsonUtil.Serialize(obj);
        }
    }
}
